package com.changgou.config.service.impl;

import com.changgou.config.dao.CitiesMapper;
import com.changgou.config.pojo.Cities;
import com.changgou.config.service.CitiesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CitiesServiceImpl implements CitiesService {

    @Autowired
    private CitiesMapper citiesMapper;

    /**
     * 根据省份ID查询
     * @param provinceId
     * @return
     */
    @Override
    public List<Cities> findById(String provinceId){
        return citiesMapper.findById(provinceId);
    }


}
